package com.sicnu.startup.service;

import com.sicnu.startup.entity.Users;
import com.baomidou.mybatisplus.extension.service.IService;
import com.sicnu.startup.vo.LoginVO;
import com.sicnu.startup.vo.RegisterVO;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @Author yanggang
 * @Description: 服务类
 * @Data Created in 11:26 2022/1/6
 */
public interface UsersService extends IService<Users> {
    /**
     * 用户注册
     *
     * @param registerVO
     * @return
     */
    Boolean registerUser(RegisterVO registerVO,HttpServletRequest request);

    Users login(LoginVO loginVO,HttpServletRequest request);


}
